#pragma once

#include "ScriptCompiler/ASTBuilder/ASTBuilder.h"

class CIfNode;

class CIfBuilder : public IASTBuilder
{
public:
    CIfBuilder(std::shared_ptr<CScriptFileContext> InContext);

    virtual bool ReadCurentToken() override;

    std::shared_ptr<CIfNode> Result;

protected:
    std::shared_ptr<CScriptFileContext> Context;

};